Previous topicNext topic
Help > Data Types > User-Defined Types and Unions >
Built-in User Defined Types

The compiler provides a set of built-in User-Defined Types, including:

TYPE DispParams

 VariantArgs AS VARIANT

 NamedDispID AS VARIANT

 CountArgs   AS DWORD

 CountNamed  AS DWORD

END TYPE

DispParams is used internally by the compiler to send parameters to Dispatch methods and properties.

 

TYPE DirData

 FileAttributes AS DWORD

 CreationTime   AS QUAD

 LastAccessTime AS QUAD

 LastWriteTime  AS QUAD

 FileSizeHigh   AS DWORD

 FileSizeLow    AS DWORD

 Reserved0      AS DWORD

 Reserved1      AS DWORD

 FileName       AS WStringZ * 260

 ShortName      AS WStringZ *  14

END TYPE

DirData is used with the DIR$ function to retrieve file or directory information.

 

TYPE Point

 x AS LONG

 y AS LONG

END TYPE

Used with various API routines.

 

TYPE NMHDR

 HwndFrom AS DWORD

 IdFrom   AS DWORD

 Code     AS LONG

END TYPE

NMHDR is used with CB.NMHDR and contains information about notification messages.

 

TYPE NMCHAR

 Hdr        AS NMHDR

 Ch         AS DWORD

 dwItemPrev AS DWORD

 dwItemNext AS DWORD

END TYPE

NMCHAR is used with CB.NMHDR and contains information about a character notification messages.

 

TYPE NMKEY

 Hdr    AS NMHDR

 nVKey  AS DWORD

 uFlags AS DWORD

END TYPE

NMKEY is used with CB.NMHDR and contains information about key notification messages.

 

TYPE NMMOUSE

 Hdr        AS NMHDR

 dwItemSpec AS DWORD

 dwItemData AS DWORD

 Pt         AS POINT

 dwHitInfo  AS LONG

END TYPE

NMMOUSE is used with CB.NMHDR and contains information about key notification messages.

 

TYPE NMTOOLTIPSCREATED

 Hdr          AS NMHDR

 HwndToolTips AS DWORD

END TYPE

NMTOOLTIPSCREATED is used with CB.NMHDR and contains information about %NM_TOOLTIPSCREATED messages.

 

TYPE PowerBounds

 Elements1     AS LONG

 LowBound1     AS LONG

 Elements2     AS LONG

 LowBound2     AS LONG

 Elements3     AS LONG

 LowBound3     AS LONG

 Elements4     AS LONG

 LowBound4     AS LONG

END TYPE

PowerBounds is used with a PowerArray Object to dimension the array.

 

See Also

Built-in numeric equates

Built-in string equates

Built-in RGB Color Equates